<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
import homeapi from '@/api/tailings_monitoring_service_smos_api.js'
import store from '@/store'
export default {
  name: 'App',
  mounted(){
	this.getUserInfo();
  },
  methods:{
	async getUserInfo(){
		
		let data=await homeapi.Smos_apiUserLogin_infoGet();
		if(data.error_code==0){
			store.dispatch('user/getInfo',data.data)
			
		}
	}
  }
}
</script>
<style lang="css">

.positondiv{
	width: 100%;
	padding: 0 30px;
	box-sizing: border-box;
}
#container{
	width: 100%;
	height: 400px;
}
.mapmain{
	width: 100%;
	position: relative;
}
.search_input{
	width: 100%;
	height: 45px;
	margin-top: 10px;
}
.search_input input{
	width: 100%;
	border: 1px solid #ddd;
	outline: none;
	padding: 0 15px;
	box-sizing: border-box;
	font-size: 14px;
	height: 100%;
	border-radius: 4px;
}
</style>
